package org.blogwu.learn.designpattern.chapter8.staitcinner.v1;

public class StaticInnerClassSingleton {

    private StaticInnerClassSingleton() {

    }

    private static class InnerClass {
        private static StaticInnerClassSingleton staticInnerClassSingleton = new StaticInnerClassSingleton();
    }

    public StaticInnerClassSingleton getInstace() {
        return InnerClass.staticInnerClassSingleton;
    }

}
